package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.ThemeDetail;
import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;

public interface ThemeDetailMapper {
    //删
    int deleteByPrimaryKey(Long id);

    //增
    int insert(ThemeDetail record);

    //查单
    ThemeDetail selectByPrimaryKey(Long id);

    //查所有
    List<ThemeDetail> selectAll();

    //修改
    int updateByPrimaryKey(ThemeDetail record);

    //分页
    List<ThemeDetail> selectForList(QueryObject qo);
}